package com.itic.appbase.framework.common.constants;

import com.itic.appbase.framework.utils.configuration.PropertyHelper;

/**
 * 
 * @ClassName: IticConstants
 * @author: djp_ivan
 * @date: 2015年4月14日 下午2:55:06
 * @version: V1.0
 * @Update_Comments: by djp_ivan at 2015年4月14日 - description
 */
/**
 * 系统常量类
 * <p>
 * Company: itic
 * </p>
 * 
 * @author: idong
 * @date: 2015年5月8日 上午11:13:10
 * @version: V1.0
 */
public class IticConst {
    
    // 用户名密码字段对应
    public static final String USERNAME = "username";
    public static final String PASSWORD = "password";
    //程序入口
    public static final String PORTAL = "portal";
    public static final String PORTAL_DEFAULT = PropertyHelper.getString("app.portal");
    // 分页参数名称
    public static final String RECORD_NOW = "start";
    public static final String PAGE_SIZE = "length";
    /** SESSION 常量 **/
    // SESSION中RSA私钥
    public static final String PRIVATE_KEY = "privateKey";
    // SESSION中用户
    public static final String PS_SESSION_USERINFO_KEY = "PS_USERINFO";

    /** 返回结果常量 **/
    public static final String RESULT = "result";
    public static final String DATA = "data";
    public static final String TOTAL_RECORDS = "iTotalRecords";
    public static final String DISPLAY_RECORDS = "iTotalDisplayRecords";
    
    //开始时间、结束时间后缀
    public static final String START_TIME_SUFFIX = " 00:00:00";
    public static final String END_TIME_SUFFIX =  " 23:59:59";
    

    private IticConst() {
    }
}
